import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { AppRoutingModule } from 'app/app-routing.module';
import { SidebarComponent } from 'app/ui/sidebar/sidebar.component';
import { ContainerComponent } from 'app/ui/container/container.component';
import { SidebarService } from './sidebar.service';
import { Menu1Component } from 'app/ui/menu1/menu1.component';
import { Menu2Component } from './../menu2/menu2.component';
import { HeadComponent } from './../head/head.component';
import { Header2Component } from './../header2/header2.component';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import {MdButtonModule, MdCheckboxModule} from '@angular/material';
import { PushComponent } from './../push/push.component';
import { FindComponent } from './../find/find.component';
import { NumPageComponent } from './../num-page/num-page.component';
import { DialogComponent } from './../compoment/dialog/dialog.component';
import { ChangeComponent } from './../compoment/change/change.component';
import { CheckboxComponent } from './../compoment/checkbox/checkbox.component';
import { FormsModule } from '@angular/forms';
import { NgxDatatableModule } from '@swimlane/ngx-datatable';


@NgModule({
  imports: [
    FormsModule,
    CommonModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    MdButtonModule, MdCheckboxModule,
    NgxDatatableModule
  ],
  declarations: [
    SidebarComponent,
    ContainerComponent,
    Menu1Component,
    Menu2Component,
    HeadComponent,
    Header2Component,
    PushComponent,
    FindComponent,
    NumPageComponent,
    DialogComponent,
    ChangeComponent,
    CheckboxComponent,
  ],
  exports: [
    SidebarComponent,
  ],
  providers: [SidebarService]
})
export class SidebarModule { }
